const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.login.token,
  avatar: state => state.login.avatar,
  name: state => state.login.name,
  roles: state => state.login.roles,
  menuList: state => state.menu.menuList,
  userList: state => state.user.userList,
  userSingle: state => state.user.singleItem,
  totalUsers: state => state.user.userListTotalItem,
  roleList: state => state.role.roleList,
  roleListAll: state => state.role.userListAll,
  roleSingle: state => state.role.singleItem,
  totalRoles: state => state.role.roleListTotalItem,
  resourcesList: state => state.auth.resourcesList,
  resourcesSingle: state => state.auth.singleItem,
  dictList: state => state.dict.dictList,
  dictSingle: state => state.dict.singleItem,
  dictByDict: state => state.dict.dictByDict,
  totalDicts: state => state.dict.dictListTotalItem
}
export default getters
